Category SpaghettiThis indicator aims to analyze the strength and weakness between categories by grouping multiple symbols into a single category, calculating the geometric or weighted average rate of change over a specified period, and displaying it as a Spaghetti Chart.
On the left side of the screen, it displays the rate of change for each category, while on the right side, it shows the rate of change for symbols belonging to the selected category.
The indicator is computationally heavy as it can draw up to 10 symbols per category and up to 20 categories. You can slightly improve performance by reducing the number of bars loaded in the Performance Settings.
#################### Settings Description ####################
Calculation Method
You can select either the geometric average or the weighted average.
When the Weighting option is checked, the calculation uses "symbol*weight," enabling weighting for the symbols.
ROC Period
Select the calculation period for the rate of change.
If a symbol included in the calculation period is newly listed or delisted, the result will be NaN.
Date and Time
When checked, the rate of change is calculated from the specified date and time.
Base Symbol Basis Chart
When checked, the rate of change is displayed based on the base symbol specified in Base Symbol.
Highlight
When checked, only the categories specified by numbers in the text box are highlighted.
Separate the numbers with commas.
==================== Symbols Table Settings ====================
Symbols Table
When checked, the Symbols Table is displayed on the right side of the screen.
Select Category
Displays the rate of change for the symbols belonging to the selected category.
Display Limit
When checked, switches the display of the rate of change from all entries to only the top or bottom symbols based on the selected count.
Text Size
Adjusts the text size in the table.
==================== Category Table Settings ====================
Category Table
When checked, the Category Table is displayed on the left side of the screen.
Other settings are similar to the Symbols Table Settings.
==================== Category Settings ====================
Base Symbol
Sets the symbol used for comparison in each category.
The settings include an ON/OFF checkbox, symbol name, color, and line thickness.
Category setting field
The settings include an ON/OFF checkbox, category name, color, line thickness, and a text area below.
In the text area, enter the symbols that make up the category, one per line, in the format "symbol" or "symbol*weight", ensuring each entry is on a new line.
You can register up to 10 symbols per category; registering more than 11 symbols will result in an error.
==================== Color Settings ====================
Table Text
Sets the text color in the table.
Table Background
Sets the table background color.
Positive
Sets the display color when the rate of change is positive.
Negative
Sets the display color when the rate of change is negative.
Reset Line
When checked, a vertical line is drawn at points where the calculation period changes.
Label Shift
Specifies the position of the category name labels displayed on the right side of the Spaghetti Chart.
==================== Performance Settings ====================
Request Bars Count
Sets the number of candlesticks to be called for rate of change calculations.
The smaller the number, the lighter the processing load is expected to be.
----------------------------------------------------------------------------------------------
このインジケーターは、複数のシンボルを一つのカテゴリーにまとめて指定した期間の幾何平均または加重平均騰落率を計算し、Spaghetti Chartとして描画することで、カテゴリー間の強弱の分析を目的としています。
画面左側に各カテゴリーの騰落率、右側に指定したカテゴリーに属するシンボルの騰落率を表示しています。
カテゴリーあたり最大10シンボル、最大20カテゴリーを描画するため、インジケーターの動作が非常に重くなります。
設定のPerformance Settingsから読み込むBarsの数を減らすことで動作が少しだけ軽量になります。
#################### 設定の説明 ####################
Calculation Method
幾何平均と加重平均を選択できます。
Weightingにチェックを入れると「symbol*weight」となり、計算時にシンボルの重み付けが有効になります。
ROC Period
騰落率の計算期間を選択します。
計算期間中に新規上場または上場廃止したシンボルが含まれる場合、計算結果はNaNとなります。
Date and Time
チェックを入れると指定した日時からの騰落率を計算します。
Base Symbol Basis Chart
チェックを入れるとBase Symbolで設定したシンボル基準での騰落率を表示します。
Highlight
チェックを入れるとテキストボックスで指定した番号のカテゴリーのみがハイライトされます。
番号はカンマで区切ってください。
==================== Symbols Table Settings ====================
Symbols Table
チェックを入れると画面右側のSymbols Tableを表示します。
Select Category
選択した番号のカテゴリーに属するシンボルの騰落率を表示します。
Display Limit
チェックを入れると騰落率を全件表示から選択した件数の上位下位のみ表示に切り替えます。
Text Size
テーブルのテキストサイズを変更します。
==================== Category Table Settings ====================
Category Table
チェックを入れると画面左側のCategory Tableを表示します。
他の設定はSymbols Table Settingsと同様です。
==================== Category Settings ====================
Base Symbol
各カテゴリーの比較対象となるシンボルを設定します。
設定は左からON/OFFチェックボックス、シンボル名、色、ラインの太さです。
Category setting field
設定は左からON/OFFチェックボックス、カテゴリー名、色、ラインの太さ、下の段のテキストエリアはカテゴリーを構成するシンボルを入力します。
テキストエリアは、一行ごとに「symbol」または「symbol*weight」のように記述し、必ず改行を行ってください。
最大10シンボルまで登録可能で、11シンボル以上登録するとエラーになります。
==================== Color Settings ====================
Table Text
テーブルのテキストカラーです。
Table Background
テーブルの背景色です。
Positive
騰落率がプラスの時の表示色です。
Negative
騰落率がマイナスの時の表示色です。
Reset Line
チェックを入れると計算期間が切り替えるポイントに縦線を描画します。
Label Shift
Spaghetti Chartの右側に表示するカテゴリー名のラベル位置を指定します。
==================== Performance Settings ====================
Request Bars Count
騰落率計算時に呼び出すローソク足の本数です。
数値が小さいほど動作が軽量になるはずです。
在腳本中搜尋" TABLE "
Open-Close Absolute Difference with Threshold CountsThe Open-Close Absolute Difference with Threshold Counts indicator is a versatile tool designed to help traders analyze the volatility and price movements within any given timeframe on their charts. This indicator calculates the absolute difference between the open and close prices for each bar, providing a clear visualization through a color-coded histogram.
Key features include:
• Timeframe Flexibility: Utilizes the current chart’s timeframe, whether it’s a 5-minute, hourly, or daily chart.
• Custom Thresholds: Allows you to set up to four custom threshold levels (Thresholds A, B, C, and D) with default values of 10, 15, 25, and 35, respectively.
• Period Customization: Enables you to define the number of bars (N) over which the indicator calculates the counts, with a default of 100 bars.
• Visual Threshold Lines: Plots horizontal dashed lines on the histogram representing each threshold for easy visual reference.
• Dynamic Counting: Counts and displays the number of times the absolute difference is less than or greater than each threshold within the specified period.
• Customizable Table Position: Offers the flexibility to position the results table anywhere on the chart (e.g., Top Right, Bottom Left).
How It Works:
1. Absolute Difference Calculation:
• For each bar on the chart, the indicator calculates the absolute difference between the open and close prices.
• This difference is plotted as a histogram:
• Green Bars: Close price is higher than the open price.
• Red Bars: Close price is lower than the open price.
2. Threshold Comparison and Counting:
• Compares the absolute difference to each of the four thresholds.
• Determines whether the difference is less than or greater than each threshold.
• Utilizes the ta.sum() function to count occurrences over the specified number of bars (N).
3. Results Table:
• Displays a table with three columns:
• Left Column: Counts where the absolute difference is less than the threshold.
• Middle Column: The threshold value.
• Right Column: Counts where the absolute difference is greater than the threshold.
• The table updates dynamically and can be positioned anywhere on the chart according to your preference.
4. Threshold Lines on Histogram:
• Plots horizontal dashed lines at each threshold level.
• Each line is color-coded for distinction:
• Threshold A: Yellow
• Threshold B: Orange
• Threshold C: Purple
• Threshold D: Blue
How to Use:
1. Add the Indicator to Your Chart:
• Open the Pine Editor on TradingView.
• Copy and paste the provided code into the editor.
• Click “Add to Chart.”
2. Configure Settings:
• Number of Bars (N):
• Set the period over which you want to calculate the counts (default is 100).
• Thresholds A, B, C, D:
• Input your desired threshold values (defaults are 10, 15, 25, 35).
• Table Position:
• Choose where you want the results table to appear on the chart:
• Options include “Top Left,” “Top Center,” “Top Right,” “Bottom Left,” “Bottom Center,” “Bottom Right.”
3. Interpret the Histogram:
• Observe the absolute differences plotted as a histogram.
• Use the color-coded bars to quickly assess whether the close price was higher or lower than the open price.
4. Analyze the Counts Table:
• Review the counts of occurrences where the absolute difference was less than or greater than each threshold.
• Use this data to gauge volatility and price movement intensity over the specified period.
5. Visual Reference with Threshold Lines:
• Refer to the horizontal dashed lines on the histogram to see how the absolute differences align with your thresholds.
Example Use Case:
Suppose you’re analyzing a 5-minute chart for a particular stock and want to understand its short-term volatility:
• Set the Number of Bars (N) to 50 to analyze the recent 50 bars.
• Adjust Thresholds based on the typical price movements of the stock, e.g., Threshold A: 0.5, Threshold B: 1.0, Threshold C: 1.5, Threshold D: 2.0.
• Position the Table at the “Top Right” for easy viewing.
By doing so, you can:
• Quickly see how often the stock experiences significant price movements within 5-minute intervals.
• Make informed decisions about entry and exit points based on the volatility patterns.
• Customize the thresholds and periods as market conditions change.
Benefits:
• Customizable Analysis: Tailor the indicator to fit various trading styles and timeframes.
• Quick Visualization: Instantly assess market volatility and price movement direction.
• Enhanced Decision-Making: Use the counts and visual cues to make more informed trading decisions.
• User-Friendly Interface: Simple configuration and clear display of information.
Note: Always test the indicator with different settings to find the configuration that best suits your trading strategy. This indicator should be used as part of a comprehensive analysis and not as the sole basis for trading decisions.
RSI - ARIEIVhe RSI MAPPING - ARIEIV is a powerful technical indicator based on the Relative Strength Index (RSI) combined with moving averages and divergence detection. This indicator is designed to provide a clear view of overbought and oversold conditions, as well as identifying potential reversals and signals for market entries and exits.
Key Features:
Customizable RSI:
The indicator offers flexibility in adjusting the RSI length and data source (closing price, open price, etc.).
The overbought and oversold lines can be customized, allowing the RSI to signal critical market zones according to the trader’s strategy.
RSI-Based Moving Averages (MA):
Users can enable a moving average based on the RSI with support for multiple types such as SMA, EMA, WMA, VWMA, and SMMA (RMA).
For those who prefer Bollinger Bands, there’s an option to use the moving average with standard deviation to detect market volatility.
Divergence Detection:
Detects both regular and hidden divergences (bullish and bearish) between price and RSI, which can indicate potential market reversals.
These divergences can be customized with specific colors for easy identification on the chart, allowing traders to quickly spot significant market shifts.
Zone Mapping:
The script maps zones of buying and selling strength, filling the areas between the overbought and oversold levels with specific colors, highlighting when the market is in extreme conditions.
Strength Tables:
At the end of each session, a table appears on the right side of the chart, displaying the "Buying Strength" and "Selling Strength" based on calculated RSI levels. This allows for quick analysis of the dominant pressure in the market.
Flexible Settings:
Many customization options are available, from adjusting the number of decimal places to the choice of colors and the ability to toggle elements on or off within the chart.
3 Day Lookback [TFO]This 3 Day Lookback indicator aims to display key information about price with respect to its previous 3 day highs and lows. It was built with the intention of being compact in order to not take up a lot of chart space.
The core component of this indicator is the table. From this table, we look at price with respect to the ranges from 1, 2, and 3 days ago, and assign it a color code. By default, we use 🟢, 🟡, and 🔴 to indicate that price is above, stuck inside, or below these ranges, respectively.
Take the following chart as an example. We manually drew these boxes to encompass the range of each day, from high to low. The leftmost box from 3 days ago is colored red to reflect the fact that price is below that day's low. This is why the table indicates a state of 🔴 for the range from 3 days ago. Then, the following two days are colored yellow to indicate that price is currently trading inside their ranges, which is why the state for both of those days is indicated as 🟡 in the table.
In a similar example below, we can see that price is clearly above the high from 3 days ago and the high from 2 days ago, which is reflected in the table with a state of 🟢 for both. However, since price is currently trading within the range from 1 day ago, it is assigned a state of 🟡 in the table.
As you may have noticed in the above examples, each day's high and low is indicated with labels (ex. "2H" and "2L" for the high and low from 2 days ago). These are optional and can be turned off in the indicator's settings. The lines tracking the previous 3 day highs and lows may also be turned off so that you're just left with the table, as is shown in the below example.
With this minimalistic table, users can get a quick glance at how price is trading with respect to the last few days of price action. Hopefully this proves useful for mobile users as well, since the indicator can be reduced to a simple table that doesn't take up much chart space.
Volume, Volatility, and Momentum Metrics IndicatorVolume, Volatility, and Momentum Metrics Indicator
Welcome to our comprehensive TradingView indicator designed to provide traders with essential volume, volatility, and momentum metrics. This powerful tool is ideal for traders looking to enhance their market analysis by visualizing key indicators in a concise and easy-to-read format.
Key Features
1. Volume Metrics:
• Daily Dollar Volume: Understand the monetary value of the traded volume each day.
• Relative Volume (RVOL) Day: Compare the current volume to the previous day’s volume to gauge trading activity.
• Relative Volume (RVOL) 30D: Assess the average trading volume over the past 30 days.
• Relative Volume (RVOL) 90D: Evaluate the average trading volume over the past 90 days.
2. Volatility and Momentum Metrics:
• Average Daily Range (ADR) %: Measure the average daily price range as a percentage of the current price.
• Average True Range (ATR): Track the volatility by calculating the average true range over a specified period.
• Relative Strength Index (RSI): Determine the momentum by analyzing the speed and change of price movements.
3. Customizable Table Positions:
• Place the volume metrics table and the volatility/momentum metrics table in the bottom-left or bottom-right corners of your chart for optimal visibility and convenience.
Why Use This Indicator?
• Enhanced Market Analysis: Quickly assess volume trends, volatility, and momentum to make informed trading decisions.
• User-Friendly Interface: The clear and concise tables provide at-a-glance information without cluttering your chart.
• Customization Options: Choose where to display the tables to suit your trading style and preferences.
How It Works
This indicator uses advanced calculations to provide real-time data on trading volume, price range, and momentum. By displaying this information in separate, neatly organized tables, traders can easily monitor these critical metrics without diverting their focus from the main chart.
Who Can Benefit?
• Day Traders: Quickly gauge intraday trading activity and volatility.
• Swing Traders: Analyze longer-term volume trends and momentum to identify potential trade setups.
• Technical Analysts: Utilize comprehensive metrics to enhance technical analysis and trading strategies.
Get Started
To add this powerful indicator to your TradingView chart, simply search for “Volume, Volatility, and Momentum Metrics” in the TradingView public library, or use the provided link to add it directly to your chart. Enhance your trading analysis and make more informed decisions with our comprehensive TradingView indicator.
BTC Halving [YinYangAlgorithms]This Indicator not only estimates what it thinks may be the PRICE for the Start, High and Low of the Halving, but likewise estimates WHEN the Start, High and Low of Halving may be. It then creates Trend Lines based on these predictions so that you may get an evaluation towards if the Price is currently Overbought or Oversold. These Trend Lines may be very useful for seeing the Slope in which the Price may move if it is to reach the estimated Price by the estimated Date. By evaluating the Prices location based on these Trend Lines we may determine if the Price is currently Overbought or Oversold.
These Trend Lines likewise may help identify locations of Support and Resistance. If the Price is much higher than its current Trend Line it is Overbought. There is a chance it will Consolidate back to the Trend Line or it may even correct with a dump all the way back to it; the opposite is true if it is much lower than its current Trend Line.
Trend Lines and Estimates are not all that is featured within this Indicator however. There are also Price Zones which may help identify if the price is currently:
Very Overbought (Red)
Slightly Overbought (Orange)
Neutral (Yellow)
Slightly Oversold (Teal)
Very Oversold (Green)
These zones may help give you an idea of how the price is currently fairing and its potential for movement. Likewise, it may help define where Support and Resistance may be found.
The trend line estimates are done with an algorithm created to evaluate the difference between price and % change that has occurred between the Start, High and Low of all the halvings over how many days between each data type. This may allow us to make an educated estimate towards what Price and Date the Start, High and Low will occur at.
Our Zones are created by evaluating the current Market Cap and circulating supply vs Max Supply of BTC. This may help give us an evaluation of what Price may be considered to be Overbought and Oversold; and likewise may help with estimations of where there may be Support and Resistance based on these Zones.
Tutorial:
In the example above we’re displaying the Halving Start Trend Line, our Information Tables and our Estimated Halving Vertical Marker. This Trend Line may help to display not only the trajectory and slope the Price needs to take to reach the Estimated Halving Price by the Estimated Halving Date; but it may also help to show if the price is Overvalued or Undervalued based on its position above or below this Trend Line.
Based on the Trajectory of the Estimated High Upward Trend Line (Green Line) in the photo above and from the ‘High Date’ estimated in the Information tables; we may attempt to estimate the location the ATH of this Bull Market will create and the price slope it may follow in doing so. This Trajectory may be very useful for understanding the price action that may occur for it to reach the High estimated Price by the High estimated Date.
We currently allow for two different types of zones within our Settings, one called ‘Fast’ displayed in the example above; and the other called ‘Slow’ displayed in the example below.
Our Fast Zone aims to move the Zone Levels Faster in an attempt to move with volatility and parabolic movement. This may help to keep the Very Overbought (Red) and Very OverSold (Green) Levels more accurate by attempting to keep the price within them. By doing so, we may aim to keep all of the Slightly Overbought, Slightly Oversold and Neutral Levels more accurate as well.
The Levels within these zones are defined by the Bright (less transparent) Lines. Whereas the Darker (more transparent) lines represent the Basis Lines between two different levels. These Basis lines may likewise act as a Support and Resistance Location too, but generally hold less weight than the actual Levels themselves.
What you may see is that during the Bull Market, the price is within the very Overbought Zones and even touches again the Very Overbought Level a few times. Likewise, during the Bear Market, the price is within the very Oversold Zones and even slightly drops below the Very Oversold Level. This may be expected and likewise may help to give estimates at potential for growth and decay within the Price based on which condition the Market is within.
Slow Zones move a little slower than Fast Zones, however they may still be accurate. Likewise, it is up to you to decide which Zone works better for your specific Trading Style; however, by default, the Zone type is set to Fast.
If you refer to both the Fast and Slow examples above, you may notice in the Fast the Price is only slightly above the ‘Slightly Oversold’ (Teal) line. Also, In the Fast, the Price where the ‘Very Overbought’ Level is 100k. This is one of the many reasons we’ve opted for ‘Fast’ as the default, and it is because it allows more room for movement; and in our opinion, potentially accuracy as well.
If you refer to the Slow example, you’ll see that the price is currently facing the Neutral Level as a Resistance location. However, if you refer to the price residing at the Slows ‘Very Overbought’ Level, it is only 81.5k, compared to the 100k of Fast.
The BTC Halving is a major event that takes place roughly every 4 years. It historically has a major impact on the market, and some may even say it signifies the Start, or close to start of the Bull Market. Therefore, since historically there may be cycles that BTC and potentially crypto itself follows, we’ve developed this Indicator in hopes that it may solve one of the biggest questions traders face. What Date will the Start, High and Low of the Halving occur and also at what Price.
Hopefully this Tutorial has given you some guidance as to how this Indicator may be used to help identify some of these key levels; including the slope at which the price may have to move if it is to reach its projection Price by its projected Date.
Settings:
1. Show Prediction Trend Lines:
- Options:
All
Start + High
Start + Low
High + Low
Start
High
Low
None
- Description:
Prediction Trend Lines may be an important way to see the Slope the Price needs to take to reach the Predicted Price by the Predicted Date. This may be useful for identifying if the Price is currently Overbought or Oversold.
2. Zone Type:
- Options:
Fast
Slow
- Description:
Zone types change the way the Zones expand.
3. Show Zones:
- Options:
All
Zones
Basis
None
- Description:
Zones are a way of seeing Overbought and Oversold Price locations based on Market Cap and Circulating Supply vs Max Supply.
4. Vertical Markers:
- Options:
All
Line
Label
None
- Description:
Vertical Markers display where the Halving has occurred with a Vertical Line and Label.
5. Show Tables:
Tables may be useful for seeing the Price and Date for when the Start, High and Low of the Halving may occur.
6. Fill Zones:
Filling in Zones may help to identify which Zone the Price is currently in.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!
Fib RSI++ by [JohnnySnow]Fib RSI++ by is an RSI Inspired by my absolutely favorite RSI on tradingview: RSI & EMA with Reverse Calculator Panel by balipour.
Built for quicker and easily identify prices at current RSI /possibly reversals/ RSI direction and RSI landings.
From balipour, I reuse /adapt to pinescriptV5 3 lines of code ( ) - the balipour implementation for reversing RSI formula in order to calculate price estimation based on the Given RSI level. Credits to the author.
Inspired by it, I also combine RSI with a MA but tuned to reads better the support/resistance levels (my humble opinion).
For quicker price target identification 2 features were added:
- Gridlines based on Fib levels, standard overbought/oversold levels and other levels I personally use. All of the grid lines can be configured according to user preferences.
- 2 information tables:
--First with a collection of 'close' numbers and Fib RSI levels price estimations at given RSI
--The second table allows the user to add up to 3 custom RSI levels to further target the price estimation.
Author UI Preferences to be used with this indicator: dark theme, hidden vertical and horizontal chart gridlines.
trend_vol_forecastNote: The following description is copied from the script's comments. Since TradingView does not allow me to edit this description, please refer to the comments and release notes for the most up-to-date information.
-----------
USAGE
This script compares trend trading with a volatility stop to "buy and hold".
Trades are taken with the trend, except when price exceeds a volatility
forecast. The trend is defined by a moving average crossover. The forecast
is based on projecting future volatility from historical volatility.
The trend is defined by two parameters:
- long: the length of a long ("slow") moving average.
- short: the length of a short ("fast") moving average.
The trend is up when the short moving average is above the long. Otherwise
it is down.
The volatility stop is defined by three parameters:
- volatility window: determines the number of periods in the historical
volatility calculation. More periods means a slower (smoother)
estimate of historical volatility.
- stop forecast periods: the number of periods in the volatility
forecast. For example, "7" on a daily chart means that the volatility
will be forecasted with a one week lag.
- stop forecast stdev: the number of standard deviations in the stop
forecast. For example, "2" means two standard deviations.
EXAMPLE
The default parameters are:
- long: 50
- short: 20
- volatility window: 30
- stop forecast periods: 7
- stop forecast standard deviations: 1
The trend will be up when the 20 period moving average is above the 50
period moving average. On each bar, the historical volatility will be
calculated from the previous 30 bars. If the historical volatility is 0.65
(65%), then a forecast will be drawn as a fuchsia line, subtracting
0.65 * sqrt(7 / 365) from the closing price. If price at any point falls
below the forecast, the volatility stop is in place, and the trend is
negated.
OUTPUTS
Plots:
- The trend is shown by painting the slow moving average green (up), red
(down), or black (none; volatility stop).
- The fast moving average is shown in faint blue
- The previous volatility forecasts are shown in faint fuchsia
- The current volatility forecast is shown as a fuchsia line, projecting
into the future as far as it is valid.
Tables:
- The current historical volatility is given in the top right corner, as a
whole number percentage.
- The performance table shows the mean, standard deviation, and sharpe
ratio of the volatility stop trend strategy, as well as buy and hold.
If the trend is up, each period's return is added to the sample (the
strategy is long). If the trend is down, the inverse of each period's
return is added to the sample (the strategy is short). If there is no
trend (the volatility stop is active), the period's return is excluded
from the sample. Every period is added to the buy-and-hold strategy's
sample. The total number of periods in each sample is also shown.
cd_SMT_Sweep_CISD_CxGeneral
This indicator is designed to show trading opportunities after sweeps of higher timeframe (HTF) highs/lows and, if available, Smart Money Technique (SMT) divergence with a correlated asset, followed by confirmation from a lower timeframe change in state delivery (CISD).
Users can track SMT, Sweep, and CISD levels across nine different timeframes.
________________________________________
Usage and Details
Commonly correlated timeframes are available in the menu by default. Users can also enter other compatible timeframes manually if necessary.
The indicator output is presented as:
• A summary table
• Display on HTF candles
• CISD levels shown as lines
Users can disable any of these from the menu.
Presentations of selected timeframes are displayed only if they are greater than or equal to the active chart timeframe.
From the Show/Hide section, you can control the display of:
• SMT table
• Sweep table
• HTF candles
• CISD levels
• HTF boxes aligned with the active timeframe
________________________________________
SMT Analysis
To receive analysis, users must enter correlated assets in the menu (or adjust them as needed).
If asset X is paired with correlated asset Y, then a separate entry for Y correlated with X is not required.
Four correlation pairs are included by default. Users should check them according to their broker/exchange or define new ones.
Checkboxes at the beginning of each row allow activation/deactivation of pairs.
SMT analysis is performed on the last three candles of each selected HTF.
If one asset makes a new high while the correlated one does not (or one makes a new low while the other does not), this is considered SMT and will be displayed both in the table and on the chart.
Charts without defined correlated assets will not display an SMT table.
________________________________________
Sweep Analysis
For the selected timeframes, the current candle is compared with the previous one.
If price violates the previous level and then pulls back behind it, this is considered a sweep. It is displayed in both the table and on the chart.
Within correlated pairs, the analysis is done separately and shown only in the table.
Example with correlated and non-correlated pairs:
• In the table, X = false, ✓ = true.
• The Sweep Table has two columns for Bullish and Bearish results.
• For correlated pairs, both values appear side by side.
• For undefined pairs, only the active asset is shown.
Example 1: EURUSD and GBPUSD pair
• If both sweep → ✓ ✓
• If one sweeps, the other does not → ✓ X
• If neither sweeps → X X
Example 2: AUDUSD with no correlated pair defined
• If sweep → ✓
• If no sweep → X
________________________________________
HTF Candles
For every HTF enabled by the user, the last three candles (including the current one) are shown on the chart.
SMT and sweep signals are marked where applicable.
________________________________________
CISD Levels
For the selected timeframes, bullish and bearish CISD levels are plotted on the chart.
________________________________________
HTF Boxes
HTF boxes aligned with the active timeframe are displayed on the chart.
Box border colors change according to whether the active HTF candle is bullish or bearish.
________________________________________
How to Read the Chart?
Let’s break down the example below:
• Active asset: Nasdaq
• Correlated asset: US500 (defined in the menu, confirmed in the table bottom row)
• Active timeframe: H1 → therefore, the HTF box is shown for Daily
• Since a correlated pair is defined, the indicator runs both SMT and Sweep analysis for the selected timeframes. Without correlation, only Sweep analysis would be shown.
Table is prepared for H1 and higher timeframes (as per user selection and active TF).
Observations:
• SMT side → H1 timeframe shows a bearish warning
• Sweep side → Bearish column shows X and ✓
o X → no sweep on Nasdaq
o ✓ → sweep on US500
Meaning: US500 made a new high (+ sweep) while Nasdaq did not → SMT formed.
The last column of the table shows the compatible LTF for confirmation.
For H1, it suggests checking the 5m timeframe.
On the chart:
• CISD levels for selected timeframes are drawn
• SMT line is marked on H1 candles
• Next step: move to 5m chart for CISD confirmation before trading (with other confluences).
Similarly, the Daily row in the table shows a Bullish Sweep on US500.
________________________________________
Alerts
Two alert options are available:
1. Activate Alert (SMT + Sweep):
Triggers if both SMT and Sweep occur in the selected timeframes. (Classic option)
2. Activate Alert (Sweep + Sweep):
Triggers if sweeps occur in both assets of a correlated pair at the same timeframe.
Interpretation:
If SMT + Sweep are already present on higher timeframes, and simultaneous sweeps appear on lower timeframes, this may indicate a strong directional move.
Of course, this must be validated with CISD and other confluences.
________________________________________
HTF CISD Levels
Although CISD levels act as confirmation levels in their own timeframe, observing how price reacts to HTF CISD levels can provide valuable insights for intraday analysis.
POIs overlapping with these levels may be higher priority.
________________________________________
What’s Next in Future Versions?
• Completed CISD confirmations
• Additional alert options
• Plus your feedback and suggestions
________________________________________
Final Note
I’ll be happy to hear your opinions and feedback.
Happy trading!
Relative Strength Heat [InvestorUnknown]The Relative Strength Heat (RSH) indicator is a relative strength of an asset across multiple RSI periods through a dynamic heatmap and provides smoothed signals for overbought and oversold conditions. The indicator is highly customizable, allowing traders to adjust RSI periods, smoothing methods, and visual settings to suit their trading strategies.
The RSH indicator is particularly useful for identifying momentum shifts and potential reversal points by aggregating RSI data across a range of periods. It presents this data in a visually intuitive heatmap, with color-coded bands indicating overbought (red), oversold (green), or neutral (gray) conditions. Additionally, it includes signal lines for overbought and oversold indices, which can be smoothed using RAW, SMA, or EMA methods, and a table displaying the current index values.
Features
Dynamic RSI Periods: Calculates RSI across 31 periods, starting from a user-defined base period and incrementing by a specified step.
Heatmap Visualization: Displays RSI strength as a color-coded heatmap, with red for overbought, green for oversold, and gray for neutral zones.
Customizable Smoothing: Offers RAW, SMA, or EMA smoothing for overbought and oversold signals.
Signal Lines: Plots scaled overbought (purple) and oversold (yellow) signal lines with a midline for reference.
Information Table: Displays real-time overbought and oversold index values in a table at the top-right of the chart.
User-Friendly Inputs: Allows customization of RSI source, period ranges, smoothing length, and colors.
How It Works
The RSH indicator aggregates RSI calculations across 31 periods, starting from the user-defined Starting Period and incrementing by the Period Increment. For each period, it computes the RSI and determines whether the asset is overbought (RSI > threshold_ob) or oversold (RSI < threshold_os). These states are stored in arrays (ob_array for overbought, os_array for oversold) and used to generate the following outputs:
Heatmap: The indicator plots 31 horizontal bands, each representing an RSI period. The color of each band is determined by the f_col function:
Red if the RSI for that period is overbought (>threshold_ob).
Green if the RSI is oversold (
SPX Daily Key Levels# Day Trading GPS S&P500 SPX Index Daily Key Levels Indicator
## Description
The Day Trading GPS S&P500 SPX Index Daily Key Levels Indicator (DT-GPS SPX) is a specialized technical tool designed for day traders focusing on trading index options on the CBOE S&P500 SPX index. This indicator provides daily key levels for both the CBOE SPX Index and EIGHTCAP SPX500 CFD, offering traders comprehensive price level analysis and actionable insights.
## Key Features
1. **Dual Market Coverage**:
- CBOE SPX Index levels generation on CBOE SPX chart at 9:30 AM EST
- EIGHTCAP SPX500 CFD levels generation on EIGHTCAP SPX500 CFD at 9:00 AM EST as well as
early display of CBOE SPX Index levels while on EIGHTCAP SPX500 chart at 9:00 AM EST (30 minutes before CBOE SPX 9:30 AM EST market open via separate Table Display for CBOE SPX levels
2. **Comprehensive Level Generation**:
- CBOE SPX index Daily Bull/Bear Key Price Level (BB-KPL) - this is the indicator's daily key Bull/Bear Pivot level for the current day's CBOE SPX trading session
- Multiple Support and Resistance Levels (R1-R6, S1-S6) to accommodate low, moderate and high volatility market environments
- Option for user to also display midpoint levels between any or all main levels if desired
- Fully customizable display options for each main level as well as midpoint levels
3. **Advanced Visualization**:
- Customizable line colors, styles, and widths
- Zone shading between levels
- Midpoint line calculations and display
4. **Dynamic Reference Tables**:
- Separate tables for CBOE SPX Index and EIGHTCAP SPX500 CFD levels
- Customizable table positioning and appearance
- Real-time level updates
5. **Pre-Market Analysis**:
- Early level generation for the EIGHTCAP SPX500 CFD at 9:00AM EST
- Preview of CBOE SPX index levels at 9:00 AM EST - 30 minutes before CBOE SPX index market open at 9:30 AM EST via separate table display at 9:00 AM EST for CBOE SPX index on EIGHTCAP SPX500 CFD chart
## Unique Aspects
1. **Market-Specific Timing**:
- Early access to CBOE SPX levels at 9:00 AM EST (30 minutes before 9:30 AM EST CBOE SPX index market open) via additional CBOE SPX levels table display on EIGHTCAP SPX500 CFD chart displayed at 9:00 AM EST
- CBOE SPX levels on CBOE SPX chart at CBOE SPX index market open (9:30 AM EST)
2. **Dual Display System**:
- Simultaneous viewing of both EIGHTCAP and CBOE levels
- Comparative analysis capabilities
3. **Precision Adjustment**:
- Automatic level adjustments between CFD and Index values
- Market-specific volatility calculations
## How It Enhances Your Trading
- Access key levels before market open through CFD analysis
- Compare and validate levels across both instruments
- Identify potential support and resistance zones with precision
- Implement sophisticated level-to-level trading strategies
- Manage risk with clearly defined price levels
- Track market structure through multiple timeframes
- Make informed decisions for SPX Index Options Trading with comprehensive level information
## Recommended Setup
For optimal use, it's recommended to run the indicator on two charts simultaneously:
1. EIGHTCAP SPX500 CFD chart for early level generation at 9:00 AM EST - 30 minutes before CBOE SPX index market open at 9:30 AM EST
2. CBOE SPX Index chart for official market levels
## Historical Level Analysis Features
**Historical Bull/Bear Key Price Level (BB-KPL)**
The Historical BB-KPL serves as a critical reference point for measuring value and potential price extensions in the market. By analyzing past BB-KPL interactions, traders can better anticipate future price behavior and make more informed decisions about entries and exits.
**Historical Support and Resistance Levels**
These dynamic levels provide crucial insights into market extension and momentum conditions, with levels further from the BB-KPL indicating potential reversal zones while also signaling strong trend conditions. Historical analysis of these levels helps traders identify high-probability trading opportunities by understanding how price has previously reacted at similar extensions from value.
**Video On Indicator Set-Up And Features**
www.youtube.com
**Videos On How To Trade Using This Indicator**
www.youtube.com
www.youtube.com
www.youtube.com
www.youtube.com
## Note
This indicator is specifically designed for day trading index options on the CBOE S&P500 SPX index. It requires appropriate data subscriptions for both CBOE indices and CFDs on TradingView. The indicator works best on timeframes of 30 minutes or less and should be used in conjunction with proper risk management practices. Past performance does not guarantee future results.
Crypto Narratives Performance [SwissAlgo]Crypto Narratives Performance Index
--------------------------------------------------------
What this indicator is
This script displays a relative performance index that compares the market capitalization trends of various crypto categories (narratives) against a selected 'Base asset' (BTC, ETH, or SOL) over a configurable rolling time window (default: 14-day).
It’s designed to help users observe sector rotation dynamics across the crypto ecosystem — such as whether DeFi is outperforming ETH, or if AI coins are underperforming relative to BTC.
--------------------------------------------------------
What it does
This indicator measures the percentage change in total market cap of a selected crypto sector over a user-defined lookback period, and compares it to the percentage change in market cap of a chosen base asset over the same period. The result is expressed as a ratio and transformed into a z-score, normalized over the last 180 bars. This allows the user to easily identify whether the sector is outperforming or underperforming the base asset in relative terms.
It also includes a smoothed signal line, a performance table, and marked background zones (levels of standard deviations) to help interpret potential extremes in sector outperformance or underperformance.
--------------------------------------------------------
How it works
It retrieves daily market capitalization data for both the selected base asset and sector from TradingView's CRYPTOCAP: data feed.
It computes the percent change in $ market cap over one of the following selectable periods: 1, 3, 7, 14, 30, or 60 days (14-day is the default).
The percentage change of the base is subtracted from the percentage change of the sector, producing a raw relative performance differential.
This differential is then normalized into a Z-Score, using a 180-day rolling mean and standard deviation.
The Z-Score is smoothed using an exponential moving average (EMA), and plotted against a secondary EMA signal line (to track potential performance trend changes).
A visual table compares the performance of all listed sectors against the selected base, ranked and annotated with basic symbols (stars for performance, alerts for underperformance vs. the selected 'Base Asset', i.e. BTC or ETH or SOL).
--------------------------------------------------------
Visual Features
* Color-coded plot line: Turns green, yellow, orange, or red based on zone and momentum.
* Signal line: Gray EMA of the z-score for trend comparison.
* Background fill zones:
±3 = "Extreme" outperform/underperform
±2 to ±3 = "Strong" zone
±1 to ±2 = Mild over/underperformance
±1 to -1 = Neutral performance range
* Dynamic Table:
Displays all sector vs. base performance differences.
Highlights the selected comparison sector.
Uses emojis (⭐/⚠️) for relative status at a glance.
--------------------------------------------------------
Who may benefit
This script may assist:
Crypto analysts tracking capital rotation across narratives.
Swing traders looking to spot momentum trends in crypto sectors.
Portfolio allocators observing which groups are leading or lagging relative to majors (BTC, ETH, SOL).
Developers or researchers evaluating sentiment shifts across categories (e.g., AI tokens rising vs. DeFi).
It is not a buy/sell signal tool — it's a sector/crypto narratives -relative monitor.
--------------------------------------------------------
Key Applications
Detect sector rotation (e.g., when Layer 1s start to outperform ETH, or BTC/SOL).
Monitor if certain categories are experiencing sustained interest or fading momentum.
Compare the strength of emerging narratives like DePIN, RWA, or World Liberty vs. majors.
Identify possible "mean-reversion" setups when a sector is excessively stretched relative to its historical norm.
--------------------------------------------------------
Limitations
Data dependency: All calculations rely on TradingView’s CRYPTOCAP: market cap feeds.
Normalization window: The z-score normalization is static at 180 bars; in choppy markets this may over-smooth or underreact.
Asset inclusion: The sectors reflect predefined index aggregates. Not all coins in a category may be equally weighted or relevant.
Lag: EMA smoothing introduces delay in reactive plotting.
No intra-day support: Works best on daily timeframes, as CRYPTOCAP: feeds are daily-only.
Not predictive: This script reflects past capital flows. It does not forecast future price moves.
--------------------------------------------------------
Customization
Users can adjust the following:
Base asset: BTC, ETH, SOL
Crypto sector (comparison): Choose from 11+ sectors, including DeFi, AI, Memes, Layer 1, etc.
Rolling performance period: Choose between 1–60 days.
Smoothing settings: Length of the EMA for the ratio and signal line.
Show/hide info table: Useful for screen space management.
Special Notes:
Please set the chart timeframe at 1-day in line with CRYPTOCAP data availability.
Please select the dark color scheme to view table and colors properly.
--------------------------------------------------------
Risk Disclaimer
This indicator is for informational and educational purposes only. It does not constitute financial advice, trading advice, or an invitation to engage in any financial strategy. Always conduct your own due diligence before making investment decisions. Use at your own risk.
Market conditions may shift rapidly, and past sector performance is not necessarily indicative of future outcomes. This tool is best used as part of a broader analytical framework, not in isolation.
Protected script: source code is hidden to preserve logic integrity and prevent tampering.
If you need clarification or encounter unexpected behavior with data feeds, please check the TradingView Help Center or post in the "Indicators and Strategies" section of the TradingView community.
Rpaid Killzone Breakout v3.6Final Indicator Title: Rapid Killzone Break & HTF Levels
Overview
Welcome to the Rapid Killzone Break & HTF Levels, an all-in-one trading toolkit designed for precision and context. This indicator was built to solve a common problem for day traders: how to combine a precise, lower-timeframe (LTF) entry model with the essential context of higher-timeframe (HTF) levels.
This tool is founded on a session-based breakout strategy, leveraging the volatility and liquidity generated during specific market hours (the "Killzones"). It then layers critical HTF support and resistance levels onto your chart, allowing you to make more informed trading decisions without ever needing to switch timeframes.
Whether you trade Forex, Gold, or major Indices, this indicator provides a comprehensive framework for identifying high-probability breakout opportunities.
The Core Strategy
The methodology is a powerful three-step process based on session liquidity and qualified breakouts:
The Killzone Range: The indicator first identifies the high and low established during a specific, high-volatility trading session (e.g., the first hour of London or New York). This range acts as a pool of liquidity. The core idea is that the market will often seek to "sweep" or run the liquidity resting above the session high or below the session low.
The Qualified Breakout: This is not just any breakout strategy. A valid entry signal only appears when price closes decisively outside the Killzone range with significant momentum. To ensure the quality of the signal, the breakout must meet several user-defined criteria:
The Killzone must have a minimum pip range.
The breakout candle must have a strong body-to-wick ratio.
The breakout must be accompanied by a spike in volume.
Higher Timeframe Confluence: A breakout is more likely to succeed if it aligns with the HTF narrative. This indicator plots the previous higher-timeframe candle's high and low directly onto your chart. These levels act as powerful magnets for price or as formidable support/resistance zones. A breakout on the LTF that targets the HTF previous high is a much higher-probability setup than one trading directly into it.
Key Features
📊 DST-Aware Killzones: Automatically adjusting session boxes for London and New York. The timezones are fully configurable (e.g., Europe/London, America/New_York) and automatically handle Daylight Saving Time changes so you never have to manually adjust them.
📈 Killzone Pivots: Automatically draws the High, Low, and a dotted Midpoint from each Killzone session, acting as key intraday levels.
🏛️ Higher Timeframe (HTF) Levels: Plots the previous HTF candle's High and Low as dashed lines on your chart, providing critical context for support, resistance, and targets.
🕯️ HTF Mini-Candles: Displays a visual summary of the last three HTF candles on the right side of your chart, so you can see the HTF trend at a glance.
⏰ Custom Vertical Timestamps: Up to three configurable vertical lines with labels to mark key events like other session opens (e.g., "Sydney Open").
🎛️ Advanced Breakout Filters: Fine-tune your signals with filters for minimum Killzone range, minimum candle body percentage, and volume spikes. (Important: The volume filter requires a data feed that provides real volume, such as OANDA, FXCM, or futures/stock data).
✅ Dynamic Entry Advice Table: After a signal, a table provides a suggested entry technique (e.g., "50% retrace to signal candle") based on how far price has moved from the breakout level.
📋 Killzone Range Stats Table: A clean table shows the current and average pip range for both the London and New York sessions, helping you gauge current volatility.
🛠️ Fully Customizable: Nearly every visual element can be toggled on/off or have its color and style changed to suit your personal chart theme.
How to Use This Indicator
This tool is designed to provide a clear, step-by-step workflow for your trading sessions.
Setup: In the settings, choose your desired Reference Timeframe (e.g., 240 for 4-Hour). Configure your Killzone session times and colors.
Context is King: Before the session begins, take note of where price is in relation to the dashed HTF High/Low lines. Is price consolidating below the previous HTF low? A breakout might target it. Is price approaching the HTF high? This could be a take-profit area or a point of resistance.
Wait for the Range: Allow the London or New York Killzone (the colored box) to form completely.
Anticipate the Breakout: Once the session box is closed, the indicator is now hunting for a valid breakout.
Validate the Signal: When a "Long" or "Short" label appears, this is your entry signal. Check the Info-Box data (RSI, volume, candle body %) to confirm the strength of the move.
Manage the Trade: Use the Killzone pivots and the HTF High/Low lines as potential areas to manage your trade, take partial profits, or identify a final target. Check the Entry Advice table for ideas on refined entries if you miss the initial move.
Applicable Markets
This strategy is most effective on instruments known for their session-based volatility. It has been tested and works exceptionally well on:
Forex Majors: EUR/USD, GBP/USD, etc.
Gold: XAU/USD
Indices: NASDAQ 100 (NQ100), S&P 500 (SPX500)
It is best used on lower timeframes (such as the 5-minute or 15-minute chart) for trade execution.
Money Risk Management with Trade Tracking
Overview
The Money Risk Management with Trade Tracking indicator is a powerful tool designed for traders on TradingView to simplify trade simulation and risk management. Unlike the TradingView Strategy Tester, which can be complex for beginners, this indicator provides an intuitive, beginner-friendly interface to evaluate trading strategies in a realistic manner, mirroring real-world trading conditions.
Built on the foundation of open-source contributions from LuxAlgo and TCP, this indicator integrates external indicator signals, overlays take-profit (TP) and stop-loss (SL) levels, and provides detailed money management analytics. It empowers traders to visualize potential profits, losses, and risk-reward ratios, making it easier to understand the financial outcomes of their strategies.
Key Features
Signal Integration: Seamlessly integrates with external long and short signals from other indicators, allowing traders to overlay TP/SL levels based on their preferred strategies.
Realistic Trade Simulation: Simulates trades as they would occur in real-world scenarios, accounting for initial capital, risk percentage, leverage, and compounding effects.
Money Management Dashboard: Displays critical metrics such as current capital, unrealized P&L, risk amount, potential profit, risk-reward ratio, and trade status in a customizable, beginner-friendly table.
TP/SL Visualization: Plots TP and SL levels on the chart with customizable styles (solid, dashed, dotted) and colors, along with optional labels for clarity.
Performance Tracking: Tracks total trades, win/loss counts, win rate, and profit factor, providing a clear overview of strategy performance.
Liquidation Risk Alerts: Warns traders if stop-loss levels risk liquidation based on leverage settings, enhancing risk awareness.
Benefits for Traders
Beginner-Friendly: Simplifies the complexities of the TradingView Strategy Tester, offering an intuitive interface for new traders to simulate and evaluate trades without confusion.
Real-World Insights: Helps traders understand the actual profit or loss potential of their strategies by factoring in capital, risk, and leverage, bridging the gap between theoretical backtesting and real-world execution.
Enhanced Decision-Making: Provides clear, real-time analytics on risk-reward ratios, unrealized P&L, and trade performance, enabling informed trading decisions.
Customizable and Flexible: Allows customization of TP/SL settings, table positions, colors, and sizes, catering to individual trader preferences.
Risk Management Focus: Encourages disciplined trading by highlighting risk amounts, potential profits, and liquidation risks, fostering better financial planning.
Why This Indicator Stands Out
Many traders struggle to translate backtested strategy results into real-world outcomes due to the abstract nature of percentage-based profitability metrics. This indicator addresses that challenge by providing a practical, user-friendly tool that simulates trades with real-world parameters like capital, leverage, and compounding. Its open-source nature ensures accessibility, while its integration with other indicators makes it versatile for various trading styles.
How to Use
Add to TradingView: Copy the Pine Script code into TradingView’s Pine Editor and add it to your chart.
Configure Inputs: Set your initial capital, risk percentage, leverage, and TP/SL values in the indicator settings. Select external long/short signal sources if integrating with other indicators.
Monitor Dashboards: Use the Money Management and Target Dashboard tables to track trade performance and risk metrics in real time.
Analyze Results: Review win rates, profit factors, and P&L to refine your trading strategy.
Credits
This indicator builds upon the open-source contributions of LuxAlgo and TCP , whose efforts in sharing their code have made this tool possible. Their dedication to the trading community is deeply appreciated.
FNO Straddle/Strangle Premium TrackerThe FNO Straddle/Strangle Premium Tracker is a powerful Pine Script indicator designed for options traders to monitor the combined premium of a straddle or strangle strategy for Indian F&O instruments. It tracks the sum of call and put option prices, visualizes the premium as a candlestick or line chart, and includes technical indicators like EMAs and premium percentage change. The indicator also provides a real-time data table, alerts for key events, and exportable data for analysis, making it ideal for tracking premium movements and identifying trading opportunities.
Key Features
Customizable Inputs: Select from a wide range of underlying symbols (e.g., NIFTY, BANKNIFTY, stocks like RELIANCE, TCS), expiry date, call/put strike prices, chart type (Candlestick or Line), and timeframe (1-min to Daily).
Premium Visualization: Plots the combined premium (Call + Put) as a candlestick or line chart, with customizable colors for easy trend identification.
Exponential Moving Averages (EMAs): Displays 21, 100, and 200-period EMAs to track premium trends, with alerts for premium crossing above/below the 21-period EMA.
Premium % Change: Shows the percentage change in the combined premium as a histogram for quick momentum analysis.
Real-Time Data Table: A table in the top-right corner displays the latest premium, call/put Last Traded Prices (LTP), and EMA values (21, 100, 200).
Error Handling: Alerts users with a warning label if the selected symbol, expiry, or strike is invalid or data is unavailable.
Data Export: Outputs the latest premium, call LTP, and put LTP as a text string for easy copying or analysis.
LTP Label: Displays the current premium value every 5 bars for quick reference.
How It Works
Input Selection: Choose the underlying symbol, expiry date (YYMMDD format, e.g., 250626 for June 26, 2025), call and put strike prices, chart type, and timeframe.
Data Fetching: The script fetches real-time OHLC (Open, High, Low, Close) data for the selected call and put options using the specified symbol and expiry.
Premium Calculation: Combines the call and put option prices to calculate the straddle/strangle premium (Open, High, Low, Close).
Visualization: Plots the premium as a candlestick (green for bullish, red for bearish) or a blue line chart, along with EMAs, call/put LTP lines, and a premium % change histogram.
Alerts & Notifications: Triggers alerts when the premium crosses the 21-period EMA and displays a warning if data is invalid.
Data Display: Shows key metrics in a table and provides exportable data for further analysis.
Inputs
Select Symbol: Choose the underlying instrument (e.g., NIFTY, BANKNIFTY, RELIANCE, etc.).
Expiry Date: Enter the option expiry in YYMMDD format (e.g., 250626).
Call/Put Strike: Specify the strike prices for the call and put options.
Chart Type: Select "Candlestick" or "Line" to visualize the premium.
Timeframe: Choose the data aggregation period (e.g., 1-min, 5-min, Daily).
Outputs
Chart: Candlestick or line plot of the combined premium, with EMAs (21, 100, 200), call/put LTP, and premium % change histogram.
Table: Real-time display of premium, call/put LTP, and EMA values.
Alerts: Notifications for premium crossing EMA21 or invalid data.
Export Data: A text string with the latest premium, call LTP, and put LTP for external use.
Use Cases
Straddle/Strangle Trading: Monitor premium movements for at-the-money (ATM) straddles or out-of-the-money (OTM) strangles to time entries/exits.
Trend Analysis: Use EMAs to identify bullish or bearish trends in the premium.
Momentum Trading: Leverage the premium % change histogram to spot rapid price movements.
Risk Management: Track call and put LTP individually to assess option price behavior.
Data Analysis: Export premium data for backtesting or strategy development.
How to Use
Add the indicator to your TradingView chart.
Configure the inputs (symbol, expiry, strikes, chart type, timeframe) based on your trading setup.
Monitor the chart for premium trends, EMA crossovers, and % change signals.
Use the table and export data for real-time insights or external analysis.
Set up alerts to get notified when the premium crosses the 21-period EMA.
Notes
Ensure the symbol, expiry, and strike prices are valid for your data provider to avoid "Invalid Symbol" errors.
The indicator works best on Indian F&O instruments (NSE/BSE) with active options chains.
For optimal performance, use shorter timeframes (e.g., 1-min, 5-min) for intraday trading or Daily for positional analysis.
The premium % change histogram helps identify volatility spikes, useful for breakout strategies.
Limitations
Requires valid option chain data from TradingView’s data provider.
Performance may vary on low-liquidity instruments or illiquid strike prices.
Alerts are limited to EMA21 crossovers; additional custom alerts can be added as needed.
Feedback
If you have suggestions or need additional features (e.g., Bollinger Bands, RSI, or volatility metrics), feel free to comment! Happy trading!
Canuck Trading IndicatorOverview
The Canuck Trading Indicator is a versatile, overlay-based technical analysis tool designed to assist traders in identifying potential trading opportunities across various timeframes and market conditions. By combining multiple technical indicators—such as RSI, Bollinger Bands, EMAs, VWAP, MACD, Stochastic RSI, ADX, HMA, and candlestick patterns—the indicator provides clear visual signals for bullish and bearish entries, breakouts, long-term trends, and options strategies like cash-secured puts, straddles/strangles, iron condors, and short squeezes. It also incorporates 20-day and 200-day SMAs to detect Golden/Death Crosses and price positioning relative to these moving averages. A dynamic table displays key metrics, and customizable alerts help traders stay informed of market conditions.
Key Features
Multi-Timeframe Adaptability: Automatically adjusts parameters (e.g., ATR multiplier, ADX period, HMA length) based on the chart's timeframe (minute, hourly, daily, weekly, monthly) for optimal performance.
Comprehensive Signal Generation: Identifies short-term entries, breakouts, long-term bullish trends, and options strategies using a combination of momentum, trend, volatility, and candlestick patterns.
Candlestick Pattern Detection: Recognizes bullish/bearish engulfing, hammer, shooting star, doji, and strong candles for precise entry/exit signals.
Moving Average Analysis: Plots 20-day and 200-day SMAs, detects Golden/Death Crosses, and evaluates price position relative to these averages.
Dynamic Table: Displays real-time metrics, including zone status (bullish, bearish, neutral), RSI, MACD, Stochastic RSI, short/long-term trends, candlestick patterns, ADX, ROC, VWAP slope, and MA positioning.
Customizable Alerts: Over 20 alert conditions for entries, exits, overbought/oversold warnings, and MA crosses, with actionable messages including ticker, price, and suggested strategies.
Visual Clarity: Uses distinct shapes, colors, and sizes to plot signals (e.g., green triangles for bullish entries, red triangles for bearish entries) and overlays key levels like EMA, VWAP, Bollinger Bands, support/resistance, and HMA.
Options Strategy Signals: Suggests opportunities for selling cash-secured puts, straddles/strangles, iron condors, and capitalizing on short squeezes.
How to Use
Add to Chart: Apply the indicator to any TradingView chart by selecting "Canuck Trading Indicator" from the Pine Script library.
Interpret Signals:
Bullish Signals: Green triangles (short-term entry), lime diamonds (breakout), blue circles (long-term entry).
Bearish Signals: Red triangles (short-term entry), maroon diamonds (breakout).
Options Strategies: Purple squares (cash-secured puts), yellow circles (straddles/strangles), orange crosses (iron condors), white arrows (short squeezes).
Exits: X-cross shapes in corresponding colors indicate exit signals.
Monitor: Gray circles suggest holding cash or monitoring for setups.
Review Table: Check the top-right table for real-time metrics, including zone status, RSI, MACD, trends, and MA positioning.
Set Alerts: Configure alerts for specific signals (e.g., "Short-Term Bullish Entry" or "Golden Cross") to receive notifications via TradingView.
Adjust Inputs: Customize input parameters (e.g., RSI period, EMA length, ATR period) to suit your trading style or market conditions.
Input Parameters
The indicator offers a wide range of customizable inputs to fine-tune its behavior:
RSI Period (default: 14): Length for RSI calculation.
RSI Bullish Low/High (default: 35/70): RSI thresholds for bullish signals.
RSI Bearish High (default: 65): RSI threshold for bearish signals.
EMA Period (default: 15): Main EMA length (15 for day trading, 50 for swing).
Short/Long EMA Length (default: 3/20): For momentum oscillator.
T3 Smoothing Length (default: 5): Smooths momentum signals.
Long-Term EMA/RSI Length (default: 20/15): For long-term trend analysis.
Support/Resistance Lookback (default: 5): Periods for support/resistance levels.
MACD Fast/Slow/Signal (default: 12/26/9): MACD parameters.
Bollinger Bands Period/StdDev (default: 15/2): BB settings.
Stochastic RSI Period/Smoothing (default: 14/3/3): Stochastic RSI settings.
Uptrend/Short-Term/Long-Term Lookback (default: 2/2/5): Candles for trend detection.
ATR Period (default: 14): For volatility and price targets.
VWAP Sensitivity (default: 0.1%): Threshold for VWAP-based signals.
Volume Oscillator Period (default: 14): For volume surge detection.
Pattern Detection Threshold (default: 0.3%): Sensitivity for candlestick patterns.
ROC Period (default: 3): Rate of change for momentum.
VWAP Slope Period (default: 5): For VWAP trend analysis.
TradingView Publishing Compliance
Originality: The Canuck Trading Indicator is an original script, combining multiple technical indicators and custom logic to provide unique trading signals. It does not replicate existing public scripts.
No Guaranteed Profits: This indicator is a tool for technical analysis and does not guarantee profits. Trading involves risks, and users should conduct their own research and risk management.
Clear Instructions: The description and usage guide are detailed and accessible, ensuring users understand how to apply the indicator effectively.
No External Dependencies: The script uses only built-in Pine Script functions (e.g., ta.rsi, ta.ema, ta.vwap) and requires no external libraries or data sources.
Performance: The script is optimized for performance, using efficient calculations and adaptive parameters to minimize lag on various timeframes.
Visual Clarity: Signals are plotted with distinct shapes and colors, and the table provides a concise summary of market conditions, enhancing usability.
Limitations and Risks
Market Conditions: The indicator may generate false signals in choppy or low-liquidity markets. Always confirm signals with additional analysis.
Timeframe Sensitivity: Performance varies by timeframe; test settings on your preferred chart (e.g., 5-minute for day trading, daily for swing trading).
Risk Management: Use stop-losses and position sizing to manage risk, as suggested in alert messages (e.g., "Stop -20%").
Options Trading: Options strategies (e.g., straddles, iron condors) carry unique risks; consult a financial advisor before trading.
Feedback and Support
For questions, suggestions, or bug reports, please leave a comment on the TradingView script page or contact the author via TradingView. Your feedback helps improve the indicator for the community.
Disclaimer
The Canuck Trading Indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves significant risks, and past performance is not indicative of future results. Always perform your own due diligence and consult a qualified financial advisor before making trading decisions.
MMPD @MaxMaserati 2.0The MMPD @MaxMaserati 2.0 is a powerful TradingView indicator (Pine Script v6) designed to reveal institutional price action when paired with MMM 2.0 and MMPB 2.0 as part of the Max Maserati Method (MMM) System. It analyzes momentum across multiple timeframes, helping you understand whether the market is overbought (premium) or oversold (discount). With vibrant candle colors, a consistency table, momentum dots, and renamed lines for clarity, it provides an intuitive way to read market dynamics.
Key Features
Multi-Timeframe Analysis: Evaluates six user-defined timeframes to ensure signal consistency.
Candle Classifications: Colors candles to reflect momentum and institutional activity (e.g., Strong Bullish, Bearish Reversal).
Consistency Table: Displays candle types and market conditions across timeframes with a summary bias.
Momentum Dots: Visual dots indicate alignment strength across momentum, balance, and trend direction.
Premium/Discount Zones: Highlights overbought (red fill) and oversold (green fill) areas.
Renamed Lines: Clear labels like "Momentum Line," "Balance Line," and "Trend Direction Line" for better usability.
Input Parameters
Timeframe Settings: Six timeframes (htf1 to htf6, default: 45s, 1m, 5m, 15m, 60m, daily) for multi-timeframe analysis.
Display Settings:
Use Closed Candle Data: Default true, ensures reliability by using closed candles.
Show Momentum Line: Default true, displays the momentum indicator.
Show Balance Line: Default true, shows the market’s directional balance.
Show Trend Direction Line: Default false, optional trend slope.
Trend Direction Length: Default 10, range 3-50, adjusts trend slope sensitivity.
Show Premium/Discount Fill: Default true, highlights overbought/oversold zones.
Visual Settings: Customize colors (e.g., Bullish Color, Bearish Color) and candle opacity (default 20, range 0-100).
Threshold Settings:
Percentage Threshold: Default 60%, sets minimum strength for bullish/bearish classifications.
Premium Threshold: Default 65, defines overbought zone.
Discount Threshold: Default 35, defines oversold zone.
Core Components
1. Candle Types
MMPD classifies candles based on price action, syncing with MMM 2.0’s structure and MMPB 2.0’s blocks:
Strong Bullish: Institutional buying, often at MMPB eBreaks.
Bullish Resumption: Buyers continuing after a pause, tied to MMM’s C3/C4.
Bullish Reversal: Buyers flipping bearish moves, great at MMPB discount zones.
Weak Bullish: Mild bullishness, confirm with MMM’s PO4.
Bullish Pullback: Buyers resting, a setup for MMM’s resumption.
Strong Bearish: Heavy selling, often at MMPB premium eBlocks.
Bearish Resumption: Sellers pushing on, aligned with MMM’s bearish PO4.
Bearish Reversal: Sellers dominating, great at MMPB premium zones.
Weak Bearish: Soft selling, check MMM’s MC2.
Bearish Pullback: Sellers pausing, potential MMPB short entries.
Neutral: No clear direction, use MMM’s structure.
Trap: Warning of a fake-out, cross-check with MMM.
HVC Bullish: Explosive up-move, align with MMM’s C4.
HVC Bearish: Sharp drop, confirm with MMPB’s bearish blocks.
2. Candle Colors
Colors enhance readability, tying to MMM and MMPB:
Bright Green: Strong Bullish/Resumption—big buying.
Cyan: Bullish Reversal—buyers flipping bearish moves.
Green: Weak Bullish/standard bullish close.
Light Green: Bullish Pullback—buyers pausing.
Magenta: Strong Bearish/Resumption—big selling.
Bright Red: Bearish Reversal—sellers taking over.
Red: Weak Bearish/standard bearish close.
Light Red: Bearish Pullback—sellers resting.
Teal: HVC Bullish—high-energy surge.
Dark Red: HVC Bearish—sharp drop.
Orange: Trap—potential fake-out.
Gray: Neutral—no clear bias.
3. Market Conditions
MMPD flags pricing levels:
Extreme Premium (>90): Overbought, likely reversal.
Premium (65-90): Pricey, cautious longs.
Neutral (35-65): Balanced market.
Discount (10-35): Bargain, buying opportunity.
Extreme Discount (<10): Deeply undervalued.
4. Consistency Table
A top-right table summarizes:
Timeframes: Your six chosen timeframes.
MMPD Type: Candle type, colored to match.
MMPD Level: Premium/discount/neutral, with red/green backgrounds.
Summary: Bias (Bullish, Bearish, Premium, Discount) and action (Cheap, Expensive, Neutral).
5. Visual Elements
Momentum Line: Tracks momentum, colored per candle type
Balance Line: Green (bullish) or magenta (bearish), shows market direction.
Trend Direction Line: Optional, green up, magenta down.
Momentum Dots: Green (bullish) or magenta (bearish) circles:
3 dots (Normal, at 0/100): Strong alignment of momentum, balance, and trend.
2 dots (Small, at 1/99): Moderate alignment.
1 dot (Tiny, at 2/98): Weak alignment.
Premium/Discount Fills: Red (>65), green (<35).
Candles: Custom candles, colored to reflect momentum.
How to Use It
Setup: Add to TradingView with MMM 2.0 and MMPB 2.0. Set timeframes (e.g., 45s to daily), tweak thresholds, and enable visuals.
Read the Table: Look for alignment (5+ timeframes Bullish/Discount or Bearish/Premium).
Summary guides bias and action
Interpret Candles: Bright Green/Cyan for bullish setups, Magenta/Bright Red for bearish, Orange for traps.
Use Dots: Three green dots signal strong bullish alignment; three magenta dots signal bearish alignment.
Combine with MMM/MMPB: MMM for structure, MMPB for entries—MMPD confirms momentum and pricing.
Why It’s Special
Institutional Insight: Spots big-player moves with MMM and MMPB.
Clear Visuals: Dots and renamed lines make momentum easy to read.
Versatile: Works for scalping or swings, across markets.
Protective: Trap signals and premium/discount zones keep you sharp.
Notes
Lag: Uses closed candles by default—pair with MMM for real-time.
Best in Trends: Shines in moving markets, less clear in chop.
Learning Curve: Takes time to sync with MMM and MMPB.
Customize: Adjust inputs for your market.
Final Thought
“Analyze, wait, repeat.” MMPD @MaxMaserati 2.0, with MMM 2.0 and MMPB 2.0, helps you master price action. It’s your guide to seeing the market like the pros.
Built on the Max Maserati Method for educational and trading purposes.
NFP High/Low Levels PlusNFP High/Low Levels Plus
Description:
This indicator stores the 12 most recent NFP (Non-Farm-Payroll) days and their values.
Values are captured from 0830 (NFP Release) until close of market
The High and Low values for each NFP month are drawn on the chart with horizontal lines.
- Labels indicating the month's high or low line are placed after the line
- Optionally the high/low price can be displayed additionally
Support and Resistance boxes can be drawn at the closest NFP level above and below the
current price.
- Boxes will automatically update as prices cross the NFP value
Macro Indicator
- This option displays a small table in the top right corner that says "Up" or " Down"
- The Macro Indicator can be used to judge the potential direction for the current month
- Macro direction is calculated by the following:
- UP: If two consecutive days both open and close above the most recent NFP High level
- DOWN: If two consecutive days both open and close below the most recent NFP Low level
Micro Indicator
- This option displays a small table in the top right corner that says "Up" or " Down"
- The Micro Indicator can be used to judge the potential direction for low timeframes 1H or
lower
- Micro direction is calculated by the following:
- UP: If two consecutive 10m candles close above the 20EMA
- DOWN: If two consecutive 10m candles close below the 20EMA
NFP Session Bars
- This feature draws an arrow at the bottom of the chart for each candle that falls within the
NFP session day
- This is useful for identifying NFP Days
Support / Resistance Table
- This displays a table bottom center showing the nearest high and low NFP line level
What is an NFP Day and why is it useful to add to my chart?
- NFP Days are one of the most important data releases monthly
- NFP (Non-Farm-Payroll) is the official release of 80% of the US workforce employed in
manufacturing, construction, and goods
- It does not include those who work on farms, private households, non-profit and
government workers
- Historically these high/low levels for the day create strong support and resistance levels
- Having them displayed on the chart can help identify potential strong levels and pivot points
Full Indicator with all options enabled and identified
Easily update NFP Release Days in the indicator settings
Modify various options: Show/Hide lines, labels, directional indicator tables, values tables
Adjust line width, offsets, colors, font sizes, box widths
Enable individual Directional Indicators and modify colors
Example of full indicator enabled
You can find a list of the NFP Release Schedule on the official US Bureau of Labor Statistics website. This is useful for updating the indicator settings with the correct dates
TMS By TradeINskiTMS (Trade Management System) By TradeINski
First Things First
- Disclaimer: This indicator will not give any buy or sell signal this is just a supporting tool to improve efficiency in my trading.
- Apply Indicators and then open indicator settings and read the following simultaneously to understand better.
- Default color settings are best suited for light themes. Which is also my personal preference.
Users can change most of the default options in settings according to their personal preference in settings.
- When we open settings we can see 3 tabs that are {Inputs tab} {Style tab} {Visibility tab} each tab have its own options, Understand and use it accordingly.
- Background Color grading that is “Green” background means parameter favorable, “Red” not favorable for my trading, “Nah” and black means no sufficient data for calculation especially IPO stocks and other colors are not just for color grading but also have some significance.
Indicator will be only visible in the intraday time frame as its primary TF is lower time frame.
Contents
Table - Trade Management System
Capital
Risk (%)
Stop Loss (%)
RQBC - Real Time Quantity Based On PDC
%DC - Distance From PDC
RQBL - Real Time Quantity Based On LOD
%DL / %DH - Distance From LOD/ HOD
R_VOL
Markers - Intraday levels
Q - Quantity Based on SL
QL - Quantity Based On LOD
E @ - Entry % Distance From PDC
L1 - Line 1 % Distance From PDC
L2 - Line 2 % Distance From PDC
Low of the Day
Table - Trade Management System
Capital
- Capital is nothing but your account size in number. Default value is 1000000.
- Eg. Capital is 10L then enter 1000000.
{Input Tab}
- “Check Mark” Users can show or hide from the table.
- “Capital” Default “1000000”.
- Color Code of the cell is the default Blue color.
- Note - If Currency is INR then output is in Cr’s and other currency is in thousands K & M for millions.
Risk (%)
- Risk in percentage is the percentage of risk per trade you're willing to take from the deployed capital. Default 0.50%.
- Eg. 10L capital 0.5% Risk (%) ie. 5000 is the risk per trade.
{Input Tab}
- “Check Mark” Users can show or hide from the table.
- “Risk (%)” Default “0.50”.
- Color Code of the cell is the default Blue color.
Stop Loss (%)
- Percentage stop loss willing to take or decided for each specific trade from enter level. Default value is 2%
- Eg. Planned SL for specific trade is 2%.
{Input Tab}
- “Check Mark” Users can show or hide intraday markers.
- “Stop Loss (%)” Default “2%”.
- “Color” Users can change as per their preference. Default color is Red.
RQBC - Real Time Quantity Based On PDC (Previous Day Close)
- Here quantity is calculated real time based on four factors i.e account size, risk (%) and current close and with respect to previous day close. This helps in deciding ideal position size quickly.
- Eg. RQBC is 10 as per Account size, Risk (%), Current close and with respect to Previous day close.
{Input Tab}
- “Check Mark” Users can show or hide from the table.
- “RQBC - Real Time Quantity Based On PDC”. Color code of the cell changes as per % change of the stock i.e Green & Red accordingly.
%DC - Distance From PDC (Previous Day Close)
- This is exact same logic as % change ie. based on two factors which are the previous day close and current close and then % change or move is calculated.
- Eg. Stock has moved 3.5% ie. % change is 3.5%
{Input Tab}
- “Check Mark” Users can show or hide from the table.
- “%DC - Distance from PDC”. Color code of the cell changes as per % change of the stock i.e Green & Red accordingly.
RQBL - Real Time Quantity Based On LOD (Low of the Day)
- Here quantity is calculated realtime based on four factors i.e account size, risk (%) and current close with respect to the low of the day that is today's low. This helps in deciding ideal position size based on the current low of the day quickly.
- Eg. Stock has moved 2.7% from the low of the day which most of the time differs from %DC that is % change.
{Input Tab}
- “Check Mark” Users can show or hide from the table.
- “RQBL - Real Time Quantity Based On LOD”. Color code of the cell changes as per %Change of the stock i.e Green & Red accordingly.
%DL / %DH - Distance From LOD (Low Of The Day) / HOD (High Of The Day)
- This is similar to % change but based on two factors which are the low of the day and current close for %DL that is when %change is positive and when % change is negative %DH is calculated based on current close and high of the day. In both cases, % move is calculated.
- Eg. Stock has moved 3.5% from low of the day then its %DL and for %DH vice versa considering high of the day.
{Input Tab}
- “Check Mark” Users can show or hide from the table.
- “%DL / %DH - Distance from LOD / HOD”. Color code of the cell changes as per % change of the stock i.e Green & Red accordingly.
R_VOL - Relative Volume
- Value shown in terms of percentage, Is how much volume is present today with respect to average volume and average volume period is 50.
- Eg. If R_VOL is less than 100% that means specific day volume is less than average volume and if RVOL is more than average volume then specific day volume is more than average volume.
{Inputs Tab}
- “Check Mark” Users can show or hide from the table.
- “R_VOL” Period “50” - Users have the option to choose accordingly.
- “Op” Means output “Drop down” User can choose between complete & Percentage only Play around to notice the difference.
{Note}
- The Following settings for the complete table.
- Position “Drop Down”. Users can choose accordingly.
- Size “Drop Down”. Users can choose accordingly.
MARKER - INTRADAY LEVELS
{Note}
- The Following settings are for all the intraday markers .
- “Line Type” “Drop Down”. Users can choose accordingly.
- Width ”↕” “1”. Mini = 1 & Max = 4. Users can choose accordingly.
- Label Size “Drop Down”. Users can choose accordingly.
Q - Quantity Based On SL (Stop Loss)
- Here Quantity is calculated based on four factors and marked on an intraday time frame and those factors are capital, Risk (%), Stop loss (%) and E @ ie. Entry level. Objective is based on different factors determining ideal position size quickly.
- Eg. Q is 25 based on capital, Risk(%), Stop loss (%) & Entry (%) Ie E @.
{Inputs Tab}
“Check Mark” Users can show or hide intraday markers.
“Q - Quantity Based On SL”. Color of the marker can be changed from the color settings of E @.
{Output}
- “Q - 25” is marked on E @ - Entry % Distance From PDC.
- Marker is colored green by default.
QL - Quantity Based On LOD (Low Of The Day)
- Here Quantity is calculated based on four factors and marked on an intraday time frame and those factors are capital, Risk (%), LOD ie. low of the day and E @ ie. Entry level. Objective is based on different factors determining ideal position size.
- Eg. Q is 25 based on capital, Risk(%), LOD & Entry (%) Ie E @.
{Inputs Tab}
- “Check Mark” Users can show or hide intraday markers.
- “Q - Quantity Based On LOD”. Color of the marker can be changed from the color settings of E @.
{Output}
- “QL - 25” is marked on E @ - Entry %Distance From PDC.
- Marker is colored green by default.
E @ - Entry % Distance From PDC (Previous Day Close)
- Here Entry Price Level is determined and marked, that is how far from previous day close in percentage that is nothing but saying after how much % change you're willing to enter.
- Eg. Enter after 2% Move then the marker shows its price along with “Q” & “QL”.
{Inputs Tab}
- “Check Mark” Users can show or hide intraday markers.
- E - Entry % Distance From PDC.
- “E @ - Entry (%)” Default “2”. Users have the option to change accordingly.
- “Green Color”. Users can choose as per their preference.
{Output}
- “E @ ” “Default 2%” : “Price” / “Q - ” Calculated Quantity based on SL / “QL - “ Calculated quantity based on LOD. Green Color Label.
L1 - Line 1 % DIstance from PDC (Previous Day Close)
- Here Line 1 is the level which is determined by how far from previous day close in percentage that is nothing but saying at what % change the marker should be shown. This acts as a visual support level. Logic is in the live market the price is nearing the entry level and be vigilant to take action.
- Eg. Support level is 1.5% that is 1.5% away from PDC.
{Inputs Tab}
- “Check Mark” Users can show or hide intraday markers.
- L1 - Line 1 % Distance From PDC.
- “L1 - Line 1 (%)” Default “1.5”. Users have the option to change accordingly.
- “Gray Color”. Users can choose as per their preference.
{Output}
- “L1” “Default 1.5%” : “Price”. Gray Color label.
L2 - Line 2 % Distance from PDC (Previous Day Close)
- Here Line 2 is the level which is determined by how far from previous day close in percentage that is nothing but saying at what % change the marker should be shown. This acts as a visual support level. Logic is in the live market the price is nearing the entry level and be vigilant to take action.
- Eg. Support level is 1% that is 1% away from PDC.
{Inputs Tab}
- “Check Mark” Users can show or hide intraday markers.
- L2 - Line 2 % Distance From PDC.
- “L2 - Line 2 (%)” Default “1.5”. Users have the option to change accordingly.
- “Gray Color”. Users can choose as per their preference.
{Output}
- “L2” “Default 1%” : “Price”. Gray Color label.
Low Of The Day
- Here the current low of the day is marked and its price is shown in the intraday label.
Eg. Stock low of the day is 100 then it marks 100.
{Inputs Tab}
- “Check Mark” Users can show or hide intraday markers.
- Low Of the Day
- “Fuchsia Color”. Users can choose as per their preference.
{Output}
- “LOD” : “Price”. Fuchsia Color label.
Overbought / Oversold Screener## Introduction
**The Versatile RSI and Stochastic Multi-Symbol Screener**
**Unlock a wealth of trading opportunities with this customizable screener, designed to pinpoint potential overbought and oversold conditions across 17 symbols, with alert support!**
## Description
This screener is suitable for tracking multiple instruments continuously.
With the screener, you can see the instant RSI or Stochastic values of the instruments you are tracking, and easily catch the moments when they are overbought / oversold according to your settings.
The purpose of the screener is to facilitate the continuous tracking of multiple instruments. The user can track up to 17 different instruments in different time intervals. If they wish, they can set an alarm and learn overbought oversold according to the values they set for the time interval of the instruments they are tracking.**
Key Features:
Comprehensive Analysis:
Monitors RSI and Stochastic values for 17 symbols simultaneously.
Automatically includes the current chart's symbol for seamless integration.
Supports multiple timeframes to uncover trends across different time horizons.
Personalized Insights:
Adjust overbought and oversold thresholds to align with your trading strategy.
Sort results by symbol, RSI, or Stochastic values to prioritize your analysis.
Choose between Automatic, Dark, or Light mode for optimal viewing comfort.
Dynamic Visual Cues:
Instantly highlights oversold and overbought symbols based on threshold levels.
Timely Alerts:
Stay informed of potential trading opportunities with alerts for multiple oversold or overbought symbols.
## Settings
### Display
**Timeframe**
The screener displays the values according to the selected timeframe. The default timeframe is "Chart". For example, if the timeframe is set to "15m" here, the screener will show the RSI and stochastic values for the 15-minute chart.
** Theme **
This setting is for changing the theme of the screener. You can set the theme to "Automatic", "Dark", or "Light", with "Automatic" being the default value. When the "Automatic" theme is selected, the screener appearance will also be automatically updated when you enable or disable dark mode from the TradingView settings.
** Position **
This option is for setting the position of the table on the chart. The default setting is "middle right". The available options are (top, middle, bottom)-(left, center, right).
** Sort By **
This option is for changing the sorting order of the table. The default setting is "RSI Descending". The available options are (Symbol, RSI, Stoch)-(Ascending, Descending).
It is important to note that the overbought and oversold coloring of the symbols may also change when the sorting order is changed. If RSI is selected as the sorting order, the symbols will be colored according to the overbought and oversold threshold values specified for RSI. Similarly, if Stoch is selected as the sorting order, the symbols will be colored according to the overbought and oversold threshold values specified for Stoch.
From this perspective, you can also think of the sorting order as a change in the main indicator.
### RSI / Stochastic
This area is for selecting the parameters of the RSI and stochastic indicators. You can adjust the values for "length", "overbought", and "oversold" for both indicators according to your needs. The screener will perform all RSI and stochastic calculations according to these settings. All coloring in the table will also be according to the overbought and oversold values in these settings.
### Symbols
The symbols to be tracked in the table are selected from here. Up to 16 symbols can be selected from here. Since the symbol in the chart is automatically added to the table, there will always be at least 1 symbol in the table. Note that the symbol in the chart is shown in the table with "(C)". For example, if SPX is open in the chart, it is shown as SPX(C) in the table.
## Alerts
The screener is capable of notifying you with an alarm if multiple symbols are overbought or oversold according to the values you specify along with the desired timeframe. This way, you can instantly learn if multiple symbols are overbought or oversold with one alarm, saving you time.
[ADOL_]Trend_Oscillators_MTF
ENG) Trend_Oscillator_MTF
introduction)
This is a trend analyzer implemented in the form of an oscillator.
An oscillator is a technical analysis tool that identifies the direction of market trends and determines the time period. Making it an oscillator means creating range. By setting the upper and lower limits like this, the unlimited expansion area that can appear on the chart is limited. As a limited area is created, we can identify oversold and overbought areas, which is good for checking momentum.
Through oscillatorization, you can find overbought, oversold, and current trend areas.
It adopts MTF and is a simple but functional indicator.
To use multiple time frames, use the timeframe.multiplier function.
A table was created using the table.new function, and various information windows were installed on the right side of the chart.
I hope this can be a destination for many travelers looking for good landmarks.
- 8 types of moving averages can be selected (in addition to independently developed moving averages), trend area display, signal display, up to 3 multi-time chart overlapping functions, information table display, volatility and whipsaw search, and alerts are possible.
- You can set various time zones in Timeframe. With three timeframes, you can check the conditions overlapping time at a glance.
principle)
Set up two moving averages with different speeds and make the relative difference.
Create the speed difference between the two moving averages using methods such as over = crossover(fast, slow) and under = crossunder(fast, slow).
The point at which the difference in relative speed decreases is where the possibility of inflection is high. Through the cross code, you can find out when the speed difference becomes 0.
Simply crossing the moving average is easy. To fine-tune the speed difference, it is necessary to re-establish the relationship between functions.
Painting the green and red areas is designed to be painted when the three time frames overlap.
Using the code of fill(fast, slow, color = fast>= slow? color.green: color.red, transp = 80, title = "fillcolor")
You can color and distinguish areas.
MA: You can select the MA_type. This is a necessary option because the profit/loss ratio for each item varies depending on the type of moving average.
Start: The starting value to set the oscillator range.
End: This is the last value to set the oscillator range.
Lenght: This is the number of candles used to calculate the calculation formula in the oscillator.
Timeframe: Set the time to overlap with up to 3 time frames.
repaint: You can choose whether to apply repaint. The default is OFF.
The coding for repaint settings for the indicator was written using the recommended method recommended by TradingView.
reference :
security(syminfo.tickerid, tf, src)
Trading method)
With the Multi-Time-Frame (MTF) function, the time zone set in the indicator is displayed the same in any chart time zone.
The repaint problem that occurred when using MTF was resolved by referring to TradingView's recommended code.
User can decide whether to repaint or not. The default is OFF.
- signal
Buy and Sell signals are displayed when there are 3 stacks. Even if there is no triple overlap, you can decide to buy or sell at the point where the short-term line and long-term line intersect.
Entry is determined through Buy and Sell signals, and exit is determined through BL (BuyLoss) and SL (SellLoss).
BL and SL can also be applied as entry.
You can judge overlap by the color of the lines. When two conditions overlap, it is orange, and when one condition overlaps, it is blue.
- Divergence
Divergence is a signal that arises from a discrepancy between the oscillator and the actual price.
Divergence can be identified because the range is set with conditions that have upper and lower limits.
- trend line
As shown in the picture, draw a downward trend line connecting the high points in the same area.
As shown in the picture, an upward trend line is drawn connecting the low points in the same area.
It can be used to view trend line breakout points that candles cannot display.
- Find a property for sale by amplitude
When the low point in the red area and the high point in the green area occur, the difference is regarded as one amplitude and the range is set.
Here, one amplitude becomes a pattern value that can go up or down, and this pattern value acts as support/resistance. It was developed in a unique way that is different from traditional methods and has a high standard of accuracy. This works best when using that indicator. Use 1, 2, 3, or 4 multiples of the amplitude range.
A multiple of 2 is a position with a high probability of a retracement.
- Whipsaw & volatility search section
Whipsaw refers to a trick that causes frequent trading in a convergence zone or confuses the trend in the opposite direction before it occurs. Whip saws are usually seen as having technical limitations that are difficult to overcome.
To overcome this problem, the indicator was created to define a section where whipsaw and volatility can appear. If a whipsaw & volatility indicator section occurs, a big move may occur later.
Alert)
Buy, Sell, BuyLoss, SellLoss, Whipsaw alert
Disclaimer)
Scripts are for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You are solely responsible for evaluating the risks associated with your script output and use of the script.
KOR) 트렌드_오실레이터_MTF
소개)
이것은 오실레이터 형태로 구현된 트렌드 분석기 입니다.
오실레이터는 시장의 추세방향을 확인하고 기간을 결정하는 기술적 분석 도구입니다. 오실레이터로 만드는 것은 범위가 생기는 것을 의미합니다. 이렇게 상한과 하한을 정함으로써, 차트에서 나타날 수 있는 무제한적인 확장영역이 제한됩니다. 제한된 영역이 만들어짐에 따라 우리는 과매도와 과매수 구간을 식별할 수 있게 되며, 모멘텀을 확인하기 좋습니다.
오실레이터화를 통해, 과매수와 과매도, 현재의 트렌드 영역을 잘 찾을 수 있습니다.
MTF를 채택했으며, 단순하지만, 기능적으로 훌륭한 지표입니다.
멀티타임프레임을 사용하기 위해 timeframe.multiplier 함수를 사용합니다.
table.new 함수를 사용하여 table을 만들고, 차트 우측에 여러가지 정보창을 갖췄습니다.
좋은 지표를 찾는 많은 여행자들에게 이곳이 종착지가 될 수 있기를 바랍니다.
- 이평선 종류 8종 선택(독자적으로 개발한 이평선 추가), 추세영역표시, 시그널 표기, 최대 3개 멀티타임차트 중첩기능, 정보테이블 표시, 변동성과 휩쏘찾기, 얼러트가 가능합니다.
- Timeframe에서 다양한 시간대를 설정할 수 있습니다. 3개의 Timeframe을 통해 시간을 중첩한 조건을 한눈에 확인할 수 있습니다.
원리)
속도가 다른 두 개의 이평선을 설정하고 상대적인 차이를 만듭니다.
over = crossover(fast, slow) , under = crossunder(fast, slow) 와 같은 방법으로 두개의 이평선의 속도차이를 만듭니다.
상대적 속도의 차이가 줄어드는 시점은 변곡의 가능성이 높은 자리입니다. cross code를 통해 속도차가 0이 되는 시점을 알 수 있습니다.
단순히 이평선을 교차하는 것은 쉽습니다. 세밀하게 속도차이를 조정하는데 함수간의 관계를 다시 설정할 필요가 있습니다.
초록색과 빨간색의 영역을 칠하는 것은 3가지 타임프레임이 중첩될 때 칠하도록 만들어졌습니다.
fill(fast, slow, color = fast>= slow? color.green: color.red, transp = 80, title = "fillcolor") 의 코드를 사용하여
영역을 색칠하고 구분할 수 있습니다.
MA : MA_유형을 선택할 수 있습니다. 이평선의 종류에 따라 종목당 손익비가 달라지므로 꼭 필요한 옵션입니다.
Start : 오실레이터 범위를 설정할 시작값입니다.
End : 오실레이터 범위를 설정할 마지막값입니다.
Lenght : 오실레이터에서 계산식을 산출하기 위한 캔들의 개수입니다.
Timeframe : 최대 3개의 타임프레임으로 중첩할 시간을 설정합니다.
repaint : 리페인팅을 적용할지 선택할 수 있습니다. 기본값은 OFF 입니다.
해당 지표의 리페인트 설정에 관한 코딩은 트레이딩뷰에서 권장하는 추천 방법으로 작성되었습니다.
참고 :
security(syminfo.tickerid, tf, src)
매매방법)
Multi-Time-Frame(MTF) 기능으로 지표에서 설정한 시간대가 어느 차트 시간대에서나 동일하게 표시됩니다.
MTF 사용시 발생하는 리페인트 문제는 트레이딩뷰의 권장코드를 참고하여 해결했습니다.
사용자가 리페인트 여부를 결정할 수 있습니다. 기본값은 OFF 입니다.
- 시그널
시그널의 Buy와 Sell은 3중첩일 경우 표시됩니다. 3중첩이 아니라도 단기선과 장기선이 교차되는 시점에서 매매를 결정할 수 있습니다.
Buy와 Sell 시그널에서 진입을 결정하고 BL(BuyLoss)와 SL(SellLoss) 에서 exit를 결정합니다.
BL과 SL을 진입으로 응용할 수도 있습니다.
라인의 컬러로 중첩을 판단할 수 있습니다. 2개의 조건이 중첩되면 오렌지, 1개의 조건이 중첩되면 블루컬러입니다.
- 다이버전스
다이버전스는 오실레이터와 실제 가격의 불일치에서 발생하는 신호입니다.
상한과 하한이 있는 조건으로 범위를 설정하였기 때문에 다이버전스를 식별가능합니다.
- 추세선
그림과 같이 같은 영역의 고점을 이어 하락추세선을 긋습니다.
그림과 같이 같은 영역의 저점을 이어 상승추세선을 긋습니다.
캔들이 표시할 수 없는 추세선돌파 지점을 볼 수 있게 활용가능합니다.
- 진폭으로 매물대 찾기
빨간색 영역의 저점과 초록색 영역의 고점이 발생할 때, 그 차이를 하나의 진폭으로 보고 범위를 설정합니다.
여기서 하나의 진폭은 위나 아래로 갈 수 있는 패턴값이 되며, 이 패턴값은 지지/저항으로 작용합니다. 전통적인 방식에 없는 독창적인 방식으로 개발된 것으로 정확성 높은 기준입니다. 이것은 해당 지표를 사용할 때 가장 잘 맞습니다. 진폭 범위의 1배수,2배수,3배수,4배수 자리를 사용합니다.
2배수 자리는 다시 돌아오는 되돌림 확률이 높은 위치입니다.
- 휩쏘&변동성 찾기 구간
휩쏘는 수렴구간에서 잦은 매매를 유발하거나, 추세가 발생하기 전에 반대방향으로 혼란을 주는 속임수를 의미합니다. 휩쏘는 보통 극복하기 어려운 기술적 한계로 여겨집니다.
해당지표에서는 이를 극복하기 위해 휩쏘와 변동성이 나타날 수 있는 구간을 정의하도록 만들었습니다. 휩쏘&변동성 표시 구간이 발생하면 이후 큰 움직임이 발생할 수 있습니다.
얼러트)
Buy, Sell, BuyLoss, SellLoss, Whipsaw alert
면책조항)
스크립트는 정보 제공 및 교육 목적으로만 사용됩니다. 스크립트의 사용은 전문적 및/또는 재정적 조언으로 간주되지 않습니다. 스크립트 출력 및 스크립트 사용과 관련된 위험을 평가하는 책임은 전적으로 귀하에게 있습니다.
Crypto Map Dashboard v1.0🔰Overview
Charts are an essential part of working with data, as they are a way to condense large amounts of data into an easy to understand format. Visualizations of data can bring out insights to someone looking at the data for the first time, as well as convey findings to others who won’t see the raw data. There are countless chart types out there, each with different use cases. Often, the most difficult part of creating a data visualization is figuring out which chart type is best for the task at hand.
What are the types of metrics, features, or other variables that you plan on plotting? Although it depended on some multiple factors!
But my choices of the chart type for this Crypto datas was Pie chart or Donut char for crypto dominances ,and Colum (Bar) chart for Total MarketCaps .
The audiences that I plan on presenting this for them could be all tradingviewrs , especially crypto lovers ,or those who just aim to have an initial exploration for themselves ,like me!
so this indicator mostly could be an educational indicator script for pine coders !
We can use the " Crypto Map Dashboard " indicator to Get an quick overview of the crypto market and monitor where the smart money Flow changing by comparing the dominances and totals Caps .
In general, it consists of 4 parts:
✅1 =>> Table1 : If you like to see and compare and monitor the changes of dominances of (Bitcoin, Ethereum, Usdt , Usdc , etc.) and their market cap in different times you can see the table on The upper-right corner.
✅2 =>> Table2: Also, in the table lower-right corner, you can see the changes of the totals(Total, Total2 , Total3 and TotalDefi) in the same time periods.
✅3 =>> pie chart or donut chart: By viewing this , you understand better about Table1 Datas, that it depicts exactly how Dominance is distributed and specialized.
✅4 =>> column chart (bar chart) : And in the last you can clearly compare the total marketcaps and see how far they are from their ATHs.
You also can even notice the entry and exit of liquidity from the crypto market!
I must also mention that I am definitely still a beginner compared to more experienced pine coders, and there may be some bugs in my codes and calculations, but I am an open person and I welcome your comments ,Also Let me know if you have any questions.
Lots of Love to all tradingviewers and pineCoder ,Cheers!💚❤️💙
Extended CANSLIM Indicator❖ Extended CANSLIM Indicator.
The Extended CANSLIM indicator is an indicator that concentrates all the tools usually used by CANSLIM traders.
It shows a table where all the stock fundamental information is shown at once first for the last quarter and then up to 5 years back.
The fundamental data is checked against well known CANSLIM validation criteria and is shown over 4 state levels.
1. Good = Value is CANSLIM Compliant.
2. Acceptable = Value is not CANSLIM compliant but still good. value is shown with a lighter background color.
3. Warning = Value deserves special attention. Value is shown over orange background color.
3. Stop = Value is non CANSLIM compliant or indicates a stop trading condition. Value is shown over red background color.
The indicator has also a set of technical tools calculated on price or index and shown directly on the chart.
❖ Fundamental data shown in the table.
The table is arranged in 4 sets of data:
1. Table Header, showing Indicator and Company data.
2. CANSLIM.
3. 3Rs: RS Rating, Revenue and ROE.
4. Extra Data: Piotroski score, ATR, Trend Days, D to E, Avg Vol and Vol today.
Sets 3 and 4 can be hidden from the table.
❖ Indicator and Compay Data.
The table header shows, Indicator name and version.
It then displays Company Name, sector and industry, human size and its capitalization.
❖ CANSLIM Data.
Displays either genuine CANSLIM data from TradinView or custom data as best effort when that data cannot be obtained in TV.
C = EPS diluted growth, Quarterly YoY.
>= 25% = Good, >= 0% = Acceptable, < 0% = Stop
A = EPS diluted growth, Annual YoY.
>= 25% = Good, >= 0% = Acceptable, < 0% = Stop
N = New High as best effort (Cust).
Always Good
S = Float shares as best effort.
Always Good
L = One year performance relative to S&P 500 (Cust),
Positive : 0% .. 50% = Neutral, 50%+ = Leader, 80%+ = Leader+, 100%+ = Leader++
Negative : 0% .. -10% = Laggard, -10% .. -30% = Laggard+, -30%+ = Laggard++
>= 50% = Good, >= 0% = Acceptable, >= -10% Warning, < -10% = Stop
I = Accumulation/Distribution days over last 25 days as a clue for institutional support (Cust).
A delta is calculated by subtracting Distribution to Accumulation days.
> 0 = Good, = 0 = Acceptable, < 0 = Warning, < -5 = Stop
M = Market direction and exposure measured on S&500 closing between averages (Cust).
Varies from 0% Full Bear to 100% Full Bull
>= 80% = Good, >= 60% = Acceptable, >= 40% = Warning, < 40% = Stop
❖ Extra non CANSLIM Data.
RS = RS Rating.
>= 90 = Good, >= 80 = Accept, >= 50 = Warning, < 50 = Stop
Rev. = Revenue Growth Quarterly YoY.
>= 0% = Good, <0% = Stop
ROE = Return on Equity, Quarterly YoY.
>= 17% = Good, >= 0% = Acceptable, < 0% = Stop
Piotr. = Piotroski Score, www.investopedia.com (TV)
>= 7 = Good, >= 4 = Acceptable, < 4 = Stop
ATR = Average True Range over the last 20 days (Cust).
0% - 2% = Acceptable, 2% - 4% = Ideal, 4% - 6% = Warning, 5%+ = Stop.
Trend Days = Days since EMA150 is over EMA200 (Cust).
Always Good
D. to E. = Days left before Earnings. Maybe not a good idea buying just before earnings (Cust).
>= 28 = Good, >= 21 = Acceptable, >= 14 = Warning, < 14 = Stop
Avg Vol. = 50d Average Volume (Cust).
>= 100K = Good, < 100K = Acceptable
Vol. Today = Today's percentage volume compared to 50d average (Cust).
Always Good.
❖ Historical Data.
Optionally selectable historical data can be displayed for C, A, Revenue and ROE up to 20 quarters if available.
Quarterly numbers can also be displayed for A, C and Revenue.
Information can be shown in Chronological or Reverse Chronological order (default).
Increasing growth quarters are shown in white, while diminuing ones are shown in Yellow.
Transition from Losing to Profitable quarters are shown with an exclamation mark ‘!’
Finally, losing quarters are shown between parenthesis.
❖ MAs on chart.
Displays 200, 100, 50 and 20 days MAs on chart.
The MAs are also automatically scaled in the 1W time frame.
❖ New 52 Week High on chart.
A sun is shown on the chart the first time that a new 52 week high is reached.
The N cell shows a filled sun when a 52 week high is no older than a month, an lighter sun when it’s no older than a quarter or a moon otherwise.
❖ Pocket Pivots on chart.
Small triangles below the price are signaling pocket pivots.
❖ Bases on chart, formerly Darvas Boxes.
Draw bases as defined by Darvas boxes, both top or bottom of bases can be selected to be shown in order to only show resistance or support.
❖ Market exposure/direction indicator.
When charting S&P500 (SPX), Nasdaq 100 Index (NDX), Nasdaq composite (IXIC) or Dow Jownes Index (DJIA), the indicator switches to Market Exposure indicator, showing also Accumulation/Distribution days when volume information is available. This indication which varies from 0% to 100% is what is shown under the M letter in the CANSLIM table which is calculated on the S&P500.
❖ Follow Through Days indicator.
If you are an adept of the Low-cheat entry, then you will be highly interested by the Follow Through days indicator as measured in the S&P 500 and shown as diamonds on the chart.
The follow-through days are calculated on S&P500 but shown in current stock chart so you don’t need to chart the S&P 500 to know that a follow through day occurred.
Follow Through days show correctly on Daily time frame and most are also shown on the Weekly time frame as well.
They are also classified according to the market zone in which they occur:
0%-5% from peak = Pullback : FT day is not shown.
5%-10% from peak = Minor Correction : Minor FT days is shown.
10%-20% from peak = Correction : Intermediate FT days us shown
20+% from peak = Bear Market : Makor FT days is shown
❖ RS Line and Rating indicator.
A RS Line and Rating indicator can be added to the chart.
Relative Strength Rating Accuracy.
Please note that the RS Rating is not 100% accurate when compared to IBD values.
❖ Earning Line indicator.
An Earning Line indicator can be added to the chart.
❖ ATR Bands and ATR Trade calculator.
The motivation for this calculator came from my own need to enter trades on volatile stocks where the simple 7% Stop Loss rule doest not work.
It simply calculates the number of shares you can buy at any moment based on current stock price and using the lower ATR band as a stop loss.
A few words about the ATR Bands.
On this indicator the ATR bands are not drawn as a classical channel that follows the price.
The lower band is drawn as a support until it’s broken on a closing basis. It can’t be in a down trend.
The upper band is drawn as a resistance until it’s broken on a closing basis. It can’t be in an up trend.
The idea is that when price starts to fall down from a peak, it should not violate its lower band ATR and that means that we can use that level as a Stop Loss.
You must look back for the stock volatility and find out which ATR multiplier works well meaning that the ATR bands are not violated on normal pullbacks. By default, the indicator uses 5x multiplier.
❖ Extra things, visual features and default settings.
The first square cell of current quarter displays a check mark ‘V’ if the CANSLIM criteria is OK or acceptable or a cross ‘X’ otherwise.
The first square cell of historical C and Rev show respectively the count of last consecutive positive quarters.
There are different color themes from “Forest” to “Space” you can chose from to best fit your eyes.
You also have different table sizes going from “Micro” to “Huge” for better adjustment to the size of your display.
The default settings view show: Pocket Pivots, FT Days, MA50, RS Line and ATR Bands.
That's all, Enjoy!